export const ClientSideComponent = ({ Component, componentProps }) => {
  if (typeof document === "undefined") {
    return null;
  }

  return <Component {...componentProps} />;
};
